package cn.com.callback

import groovy.json.*;
import groovy.swing.impl.DefaultAction
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.RequestDispatcher;
import cn.com.callback.CallBackInvoke
import cn.com.callback.ServiceBackInvoke
import cn.com.elite.EliteBean;
import cn.com.elite.Util;
import java.util.Map;
import java.security.MessageDigest;
import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import org.json.JSONObject;
import org.json.JSONArray;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.util.Date;


/**
 *
 * @Title: Job_IVROBResult
 * @Description:  每5分钟点 推送 外乎任务给容大
 * @author: chieh
 * @date 2021-04-27 00:30:00
 *
 */
public class Job_IVROBResult implements CallBackInvoke{
	private static final Log log=LogFactory.getLog(Job_IVROBResult.class);
	
	public void doCallBack(EliteBean eliteBean,String callBack,Map map,String body) {
		log.debug("-------------------------start Job_IVROBResult 开始-----------------");
		Map<String, String> headMap = new HashMap<String, String>();
		headMap.put("Content-Type", "application/json");
		def sysurl = "http://127.0.0.1:8010/EliteGeneralHttpTask/GeneralService/IVROBResult";
		Util.doHttpPostUseHead(sysurl,"","UTF-8",10000,0,headMap);
	}
}